package com.youi.entity;

import java.io.Serializable;
import java.util.Date;


/**
 * 专题商品
 *
 * @author winty
 */
public class MarketThemeGoods implements Serializable {

    private Long id;
    /**
     * 专题ID
     */
    private Long themeId;
    /**
     * 连接类型 1-跳转商品，2-跳转专题
     */
    private Integer linkType;
    /**
     * 商品ID
     */
    private Long goodsId;
    /**
     * 商品位置: 1-版头位置，2-商品位置，3-广告位
     */
    private Integer goodsPosition;
    /**
     * 图片url
     */
    private String imgUrl;
    /**
     * 跳转专题ID
     */
    private Long toThemeId;
    /**
     * 链接地址
     */
    private String url;
    /**
     * 删除状态（0否 1是）
     */
    private Integer delStatus;
    /**
     * 创建时间
     */
    private Date gmtCreated;
    /**
     * 修改时间
     */
    private Date gmtModify;

    /**
     * 商品名称 @冗余字段
     */
    private String goodsName;
    /**
     * 商品图片 @冗余字段
     */
    private String goodsImg;
    /**
     * 商品状态 @冗余字段
     */
    private Integer goodsStatus;
    /**
     * 实际价格 @冗余字段
     */
    private Double realPrice;
    /**
     * 实际销量 @冗余字段
     */
    private Integer saleCount;
    /**
     * 实际库存 @冗余字段
     */
    private Integer stockCount;

    private Goods themeGoods;


    public MarketThemeGoods() {

    }

    public MarketThemeGoods(Long id, Date gmtCreated, Integer delStatus, Date gmtModify) {
        this.id = id;
        this.gmtCreated = gmtCreated;
        this.delStatus = delStatus;
        this.gmtModify = gmtModify;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getThemeId() {
        return themeId;
    }

    public void setThemeId(Long themeId) {
        this.themeId = themeId;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getGoodsPosition() {
        return goodsPosition;
    }

    public void setGoodsPosition(Integer goodsPosition) {
        this.goodsPosition = goodsPosition;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public Long getToThemeId() {
        return toThemeId;
    }

    public void setToThemeId(Long toThemeId) {
        this.toThemeId = toThemeId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getDelStatus() {
        return delStatus;
    }

    public void setDelStatus(Integer delStatus) {
        this.delStatus = delStatus;
    }

    public Date getGmtCreated() {
        return gmtCreated;
    }

    public void setGmtCreated(Date gmtCreated) {
        this.gmtCreated = gmtCreated;
    }

    public Date getGmtModify() {
        return gmtModify;
    }

    public void setGmtModify(Date gmtModify) {
        this.gmtModify = gmtModify;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsImg() {
        return goodsImg;
    }

    public void setGoodsImg(String goodsImg) {
        this.goodsImg = goodsImg;
    }

    public Double getRealPrice() {
        return realPrice;
    }

    public void setRealPrice(Double realPrice) {
        this.realPrice = realPrice;
    }

    public Integer getSaleCount() {
        return saleCount;
    }

    public void setSaleCount(Integer saleCount) {
        this.saleCount = saleCount;
    }

    public Integer getStockCount() {
        return stockCount;
    }

    public void setStockCount(Integer stockCount) {
        this.stockCount = stockCount;
    }

    public Integer getLinkType() {
        return linkType;
    }

    public void setLinkType(Integer linkType) {
        this.linkType = linkType;
    }


    public Integer getGoodsStatus() {
        return goodsStatus;
    }

    public void setGoodsStatus(Integer goodsStatus) {
        this.goodsStatus = goodsStatus;
    }

    public Goods getThemeGoods() {
        return themeGoods;
    }

    public void setThemeGoods(Goods themeGoods) {
        this.themeGoods = themeGoods;
    }
}
